package com.shire.shire_interface.model.invite;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class WxInviteSettingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WxInviteSettingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCTime(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Time> timeList = new ArrayList<java.sql.Time>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                timeList.add(new java.sql.Time(iter.next().getTime()));
            }
            addCriterion(condition, timeList, property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value1.getTime()), new java.sql.Time(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andIntervalstartIsNull() {
            addCriterion("intervalStart is null");
            return (Criteria) this;
        }

        public Criteria andIntervalstartIsNotNull() {
            addCriterion("intervalStart is not null");
            return (Criteria) this;
        }

        public Criteria andIntervalstartEqualTo(Integer value) {
            addCriterion("intervalStart =", value, "intervalstart");
            return (Criteria) this;
        }

        public Criteria andIntervalstartNotEqualTo(Integer value) {
            addCriterion("intervalStart <>", value, "intervalstart");
            return (Criteria) this;
        }

        public Criteria andIntervalstartGreaterThan(Integer value) {
            addCriterion("intervalStart >", value, "intervalstart");
            return (Criteria) this;
        }

        public Criteria andIntervalstartGreaterThanOrEqualTo(Integer value) {
            addCriterion("intervalStart >=", value, "intervalstart");
            return (Criteria) this;
        }

        public Criteria andIntervalstartLessThan(Integer value) {
            addCriterion("intervalStart <", value, "intervalstart");
            return (Criteria) this;
        }

        public Criteria andIntervalstartLessThanOrEqualTo(Integer value) {
            addCriterion("intervalStart <=", value, "intervalstart");
            return (Criteria) this;
        }

        public Criteria andIntervalstartIn(List<Integer> values) {
            addCriterion("intervalStart in", values, "intervalstart");
            return (Criteria) this;
        }

        public Criteria andIntervalstartNotIn(List<Integer> values) {
            addCriterion("intervalStart not in", values, "intervalstart");
            return (Criteria) this;
        }

        public Criteria andIntervalstartBetween(Integer value1, Integer value2) {
            addCriterion("intervalStart between", value1, value2, "intervalstart");
            return (Criteria) this;
        }

        public Criteria andIntervalstartNotBetween(Integer value1, Integer value2) {
            addCriterion("intervalStart not between", value1, value2, "intervalstart");
            return (Criteria) this;
        }

        public Criteria andIntervalendIsNull() {
            addCriterion("intervalEnd is null");
            return (Criteria) this;
        }

        public Criteria andIntervalendIsNotNull() {
            addCriterion("intervalEnd is not null");
            return (Criteria) this;
        }

        public Criteria andIntervalendEqualTo(Integer value) {
            addCriterion("intervalEnd =", value, "intervalend");
            return (Criteria) this;
        }

        public Criteria andIntervalendNotEqualTo(Integer value) {
            addCriterion("intervalEnd <>", value, "intervalend");
            return (Criteria) this;
        }

        public Criteria andIntervalendGreaterThan(Integer value) {
            addCriterion("intervalEnd >", value, "intervalend");
            return (Criteria) this;
        }

        public Criteria andIntervalendGreaterThanOrEqualTo(Integer value) {
            addCriterion("intervalEnd >=", value, "intervalend");
            return (Criteria) this;
        }

        public Criteria andIntervalendLessThan(Integer value) {
            addCriterion("intervalEnd <", value, "intervalend");
            return (Criteria) this;
        }

        public Criteria andIntervalendLessThanOrEqualTo(Integer value) {
            addCriterion("intervalEnd <=", value, "intervalend");
            return (Criteria) this;
        }

        public Criteria andIntervalendIn(List<Integer> values) {
            addCriterion("intervalEnd in", values, "intervalend");
            return (Criteria) this;
        }

        public Criteria andIntervalendNotIn(List<Integer> values) {
            addCriterion("intervalEnd not in", values, "intervalend");
            return (Criteria) this;
        }

        public Criteria andIntervalendBetween(Integer value1, Integer value2) {
            addCriterion("intervalEnd between", value1, value2, "intervalend");
            return (Criteria) this;
        }

        public Criteria andIntervalendNotBetween(Integer value1, Integer value2) {
            addCriterion("intervalEnd not between", value1, value2, "intervalend");
            return (Criteria) this;
        }

        public Criteria andDaylimitIsNull() {
            addCriterion("dayLimit is null");
            return (Criteria) this;
        }

        public Criteria andDaylimitIsNotNull() {
            addCriterion("dayLimit is not null");
            return (Criteria) this;
        }

        public Criteria andDaylimitEqualTo(String value) {
            addCriterion("dayLimit =", value, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitNotEqualTo(String value) {
            addCriterion("dayLimit <>", value, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitGreaterThan(String value) {
            addCriterion("dayLimit >", value, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitGreaterThanOrEqualTo(String value) {
            addCriterion("dayLimit >=", value, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitLessThan(String value) {
            addCriterion("dayLimit <", value, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitLessThanOrEqualTo(String value) {
            addCriterion("dayLimit <=", value, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitLike(String value) {
            addCriterion("dayLimit like", value, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitNotLike(String value) {
            addCriterion("dayLimit not like", value, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitIn(List<String> values) {
            addCriterion("dayLimit in", values, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitNotIn(List<String> values) {
            addCriterion("dayLimit not in", values, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitBetween(String value1, String value2) {
            addCriterion("dayLimit between", value1, value2, "daylimit");
            return (Criteria) this;
        }

        public Criteria andDaylimitNotBetween(String value1, String value2) {
            addCriterion("dayLimit not between", value1, value2, "daylimit");
            return (Criteria) this;
        }

        public Criteria andSleepstartIsNull() {
            addCriterion("sleepStart is null");
            return (Criteria) this;
        }

        public Criteria andSleepstartIsNotNull() {
            addCriterion("sleepStart is not null");
            return (Criteria) this;
        }

        public Criteria andSleepstartEqualTo(Date value) {
            addCriterionForJDBCTime("sleepStart =", value, "sleepstart");
            return (Criteria) this;
        }

        public Criteria andSleepstartNotEqualTo(Date value) {
            addCriterionForJDBCTime("sleepStart <>", value, "sleepstart");
            return (Criteria) this;
        }

        public Criteria andSleepstartGreaterThan(Date value) {
            addCriterionForJDBCTime("sleepStart >", value, "sleepstart");
            return (Criteria) this;
        }

        public Criteria andSleepstartGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("sleepStart >=", value, "sleepstart");
            return (Criteria) this;
        }

        public Criteria andSleepstartLessThan(Date value) {
            addCriterionForJDBCTime("sleepStart <", value, "sleepstart");
            return (Criteria) this;
        }

        public Criteria andSleepstartLessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("sleepStart <=", value, "sleepstart");
            return (Criteria) this;
        }

        public Criteria andSleepstartIn(List<Date> values) {
            addCriterionForJDBCTime("sleepStart in", values, "sleepstart");
            return (Criteria) this;
        }

        public Criteria andSleepstartNotIn(List<Date> values) {
            addCriterionForJDBCTime("sleepStart not in", values, "sleepstart");
            return (Criteria) this;
        }

        public Criteria andSleepstartBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("sleepStart between", value1, value2, "sleepstart");
            return (Criteria) this;
        }

        public Criteria andSleepstartNotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("sleepStart not between", value1, value2, "sleepstart");
            return (Criteria) this;
        }

        public Criteria andSleependIsNull() {
            addCriterion("sleepEnd is null");
            return (Criteria) this;
        }

        public Criteria andSleependIsNotNull() {
            addCriterion("sleepEnd is not null");
            return (Criteria) this;
        }

        public Criteria andSleependEqualTo(Date value) {
            addCriterionForJDBCTime("sleepEnd =", value, "sleepend");
            return (Criteria) this;
        }

        public Criteria andSleependNotEqualTo(Date value) {
            addCriterionForJDBCTime("sleepEnd <>", value, "sleepend");
            return (Criteria) this;
        }

        public Criteria andSleependGreaterThan(Date value) {
            addCriterionForJDBCTime("sleepEnd >", value, "sleepend");
            return (Criteria) this;
        }

        public Criteria andSleependGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("sleepEnd >=", value, "sleepend");
            return (Criteria) this;
        }

        public Criteria andSleependLessThan(Date value) {
            addCriterionForJDBCTime("sleepEnd <", value, "sleepend");
            return (Criteria) this;
        }

        public Criteria andSleependLessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("sleepEnd <=", value, "sleepend");
            return (Criteria) this;
        }

        public Criteria andSleependIn(List<Date> values) {
            addCriterionForJDBCTime("sleepEnd in", values, "sleepend");
            return (Criteria) this;
        }

        public Criteria andSleependNotIn(List<Date> values) {
            addCriterionForJDBCTime("sleepEnd not in", values, "sleepend");
            return (Criteria) this;
        }

        public Criteria andSleependBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("sleepEnd between", value1, value2, "sleepend");
            return (Criteria) this;
        }

        public Criteria andSleependNotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("sleepEnd not between", value1, value2, "sleepend");
            return (Criteria) this;
        }

        public Criteria andCsidIsNull() {
            addCriterion("csId is null");
            return (Criteria) this;
        }

        public Criteria andCsidIsNotNull() {
            addCriterion("csId is not null");
            return (Criteria) this;
        }

        public Criteria andCsidEqualTo(Integer value) {
            addCriterion("csId =", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotEqualTo(Integer value) {
            addCriterion("csId <>", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidGreaterThan(Integer value) {
            addCriterion("csId >", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidGreaterThanOrEqualTo(Integer value) {
            addCriterion("csId >=", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidLessThan(Integer value) {
            addCriterion("csId <", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidLessThanOrEqualTo(Integer value) {
            addCriterion("csId <=", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidIn(List<Integer> values) {
            addCriterion("csId in", values, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotIn(List<Integer> values) {
            addCriterion("csId not in", values, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidBetween(Integer value1, Integer value2) {
            addCriterion("csId between", value1, value2, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotBetween(Integer value1, Integer value2) {
            addCriterion("csId not between", value1, value2, "csid");
            return (Criteria) this;
        }

        public Criteria andValidationmsgIsNull() {
            addCriterion("validationMsg is null");
            return (Criteria) this;
        }

        public Criteria andValidationmsgIsNotNull() {
            addCriterion("validationMsg is not null");
            return (Criteria) this;
        }

        public Criteria andValidationmsgEqualTo(String value) {
            addCriterion("validationMsg =", value, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgNotEqualTo(String value) {
            addCriterion("validationMsg <>", value, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgGreaterThan(String value) {
            addCriterion("validationMsg >", value, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgGreaterThanOrEqualTo(String value) {
            addCriterion("validationMsg >=", value, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgLessThan(String value) {
            addCriterion("validationMsg <", value, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgLessThanOrEqualTo(String value) {
            addCriterion("validationMsg <=", value, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgLike(String value) {
            addCriterion("validationMsg like", value, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgNotLike(String value) {
            addCriterion("validationMsg not like", value, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgIn(List<String> values) {
            addCriterion("validationMsg in", values, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgNotIn(List<String> values) {
            addCriterion("validationMsg not in", values, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgBetween(String value1, String value2) {
            addCriterion("validationMsg between", value1, value2, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andValidationmsgNotBetween(String value1, String value2) {
            addCriterion("validationMsg not between", value1, value2, "validationmsg");
            return (Criteria) this;
        }

        public Criteria andWxaccountidIsNull() {
            addCriterion("wxAccountId is null");
            return (Criteria) this;
        }

        public Criteria andWxaccountidIsNotNull() {
            addCriterion("wxAccountId is not null");
            return (Criteria) this;
        }

        public Criteria andWxaccountidEqualTo(String value) {
            addCriterion("wxAccountId =", value, "wxaccountid");
            return (Criteria) this;
        }

        public Criteria andWxaccountidNotEqualTo(String value) {
            addCriterion("wxAccountId <>", value, "wxaccountid");
            return (Criteria) this;
        }

        public Criteria andWxaccountidGreaterThan(String value) {
            addCriterion("wxAccountId >", value, "wxaccountid");
            return (Criteria) this;
        }

        public Criteria andWxaccountidGreaterThanOrEqualTo(String value) {
            addCriterion("wxAccountId >=", value, "wxaccountid");
            return (Criteria) this;
        }

        public Criteria andWxaccountidLessThan(String value) {
            addCriterion("wxAccountId <", value, "wxaccountid");
            return (Criteria) this;
        }

        public Criteria andWxaccountidLessThanOrEqualTo(String value) {
            addCriterion("wxAccountId <=", value, "wxaccountid");
            return (Criteria) this;
        }

        public Criteria andWxaccountidIn(List<String> values) {
            addCriterion("wxAccountId in", values, "wxaccountid");
            return (Criteria) this;
        }

        public Criteria andWxaccountidNotIn(List<String> values) {
            addCriterion("wxAccountId not in", values, "wxaccountid");
            return (Criteria) this;
        }

        public Criteria andWxaccountidBetween(String value1, String value2) {
            addCriterion("wxAccountId between", value1, value2, "wxaccountid");
            return (Criteria) this;
        }

        public Criteria andWxaccountidNotBetween(String value1, String value2) {
            addCriterion("wxAccountId not between", value1, value2, "wxaccountid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}